home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / exec / ports.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  591b  |  30 lines

  1. #ifndef    EXEC_PORTS_H
  2. #define    EXEC_PORTS_H
  3. #ifndef    EXEC_NODES_H
  4. #include    "exec/nodes.h"
  5. #endif    /* !EXEC_NODES_H */
  6. #ifndef    EXEC_LISTS_H
  7. #include    "exec/lists.h"
  8. #endif    /* !EXEC_LISTS_H */
  9. #ifndef    EXEC_TASKS_H
  10. #include    "exec/tasks.h"
  11. #endif    /* !EXEC_TASKS_H */
  12. struct    MsgPort    {
  13. struct    Node    mp_Node;
  14. UBYTE    mp_Flags;
  15. UBYTE    mp_SigBit;
  16. struct    Task    *mp_SigTask;
  17. struct    List    mp_MsgList;
  18. };
  19. #define    mp_SoftInt    mp_SigTask
  20. #define    PF_ACTION    3L
  21. #define    PA_SIGNAL    0L
  22. #define    PA_SOFTINT    1L
  23. #define    PA_IGNORE    2L
  24. struct    Message    {
  25. struct    Node    mn_Node;
  26. struct    MsgPort    *mn_ReplyPort;
  27. UWORD    mn_Length;
  28. };
  29. #endif
  30.